<!-- 单行编辑菜单栏-->
<script type="text/html" id="apiListBar">
    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>

<!--批量编辑菜单栏-->
<script type="text/html" id="toolbarDemo">
    <button class="layui-btn layui-btn-sm" lay-event="edit"  style="float:right;">新增curd功能演示</button>
    <button class="layui-btn layui-btn-sm" lay-event="dels">批量删除</button>
    <button class="layui-btn layui-btn-sm" lay-event="export">批量导出</button>
</script>

<!--标签模版-->
        
<script type="text/html" id="switchStatusTpl">
    <input type="checkbox" name="status" value="{{d.id}}" data-value="1|2" lay-skin="switch" lay-text="显示|隐藏" lay-filter="switchTpl" {{ d.status == 1 ? 'checked' : '' }}>
</script>


<!--头像模板-->
<script type="text/html" id="imageImgTpl">
    <img class="head_img" src="{{ d.img}}" onerror="this.src='/static/admin/images/notpic.png';this.title='无图片'">
</script>



<!--数据编辑列表-->
<!--<script type="text/html" id="editData">-->
<!--    {include file="demo/index_edit"}-->
<!--</script>-->

<!--滑动鼠标查看大图-->
<div class="mouseenter_box">
    <img src="" alt="text" class="mouseenter_pic">
</div>